package com.zhangxx.web.mapper;

import com.zhangxx.web.domain.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysMenuMapper {
    @Select("Select * from system_menu where #{status} order by sort")
    List<SysMenu> findAllByStatusOrderBySort(Boolean status);
}
